﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cmsservice.Entity;

namespace cmsservice.DAL
{
    /// <summary>
    /// 腾讯炒股大赛高手数据处理类
    /// </summary>
    public class MasterDataDAL
    {
        public List<MasterData> GetTopFiveLastdayup()
        {
            string strSql = "SELECT TOP 5 Zongup,Lastweekup,Lastdayup,Unick FROM QQuserinfo ORDER BY CDate desc,Zongup DESC,Lastweekup DESC";

            return SqlHelper.GetDataByColumnsLst<MasterData>(DBConn.TemporaryDB, strSql, null);
        }
    }
}
